@model String
@{
    var descriptor = ViewData.ModelMetadata.GetViewDescriptor();

    if (descriptor != null && !descriptor.Properties.ContainsKey("rows"))
    {
        descriptor.Properties.Add("rows", "5");
    }
}
@Html.TextArea("", Model, descriptor?.ToHtmlProperties())